Skip to content

aspose-diagram-cloud/aspose-diagram-cloud-python

Repository files navigation

PyPI PyPI - Implementation PyPI - Python Version GitHub license

Python Cloud REST API for Visio Processing

Aspose.Diagram Cloud SDK for Python offers to create new Visio files as well as export Visio files (VSD, VSDX, VSS, VSSX, VTX, VDX, VDW, VST, VSTX, and VSX) to image formats (PNG, SVG, EMF, TIFF, BMP & JPEG), export Visio flowcharts to HTML, SWF & XAML, and export diagrams to fixed-layouts, such as PDF & XPS.

Feel free to explore the Developer's Guide for all usage scenarios.

Visio Processing Features

  • Convert diagrams to 20+ different file formats.
  • Retrieve document information of a Visio diagram.
  • Programmatically create a new Microsoft Visio diagram file.
  • Convert Visio flow-charts to other supported formats.
  • Upload your business-oriented Visio diagrams to cloud storage.
  • Export Visio files to raster images, fixed-layout, and HTML formats.

Please refer to Developer's Guide to see what else you can achieve.

Read & Write Visio Formats

Microsoft Visio: VSDX, VSX, VTX, VDX, VSSX, VSTX, VSDM, VSSM, VSTM

Save Visio As

Fixed Layout: PDF, XPS Images: JPEG, PNG, BMP, TIFF, SVG, EMF Web: HTML Other: XAML, SWF

Read Visio Formats

Microsoft Visio: VDW, VSD, VSS, VST

New Features in Version 20.3

Added support to draw following objects on a page:

  • Polyline
  • Line
  • Ellipse

Added support to:

  • Set page setting
  • Add new empty page
  • Get pages info

For the detailed notes, please visit Aspose.Diagram Cloud 20.3 Release Notes.

Getting Started with Aspose.Diagram Cloud SDK for Python

Firstly, create an account at Aspose for Cloud to get your application information and free quota to use the API. Now execute pip install asposediagramcloud from the command line to get the get the SDK from PIP.

Create a New VDX Diagram File using Python

	# Get your ClientId and ClientSecret from https://dashboard.aspose.cloud (free registration required).
	diagram_api = DiagramApi("client_credentials", "MY_CLIENT_ID", "MY_CLIENT_SECRET")

	fileName = "sample.vdx"
	folder = "my_output"
	is_overwrite = "true"
	response = diagram_api.create_new(fileName, folder=folder, is_overwrite=is_overwrite)

Aspose.Diagram Cloud SDKs in Popular Languages

.NET Java PHP Python Ruby Node.js Android Perl Swift
GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub
NuGet Maven Composer PIP GEM NPM Maven CPAN POD

Home | Product Page | Documentation | Live Demo | API Reference | Code Samples | Blog | Free Support | Free Trial